<!-- <template>

    <el-container class="layout-container-demo" style="height: 100vh; ">
      <el-aside width="200px">
        <el-scrollbar>
          <el-menu 
              :collapse="isCollapse"
          default-active="/system/sysUser"
          router
          >
            <!-- 导航菜单项一，系统管理 -->
            <el-sub-menu index="1">
              <template #title>
                <el-icon>
                  <message />
                </el-icon><span>系统管理</span>
              </template>
              <el-menu-item index="/system/sysUser">用户管理</el-menu-item>
              <el-menu-item index="/system/sysRole">角色管理</el-menu-item>
              <el-menu-item index="/system/sysMenu">菜单管理</el-menu-item>
              <el-menu-item index="/system/sysDept">部门管理</el-menu-item>
              <el-menu-item index="/system/sysPost">岗位管理</el-menu-item>
              <el-sub-menu index="1-6" >
                <template #title ><span>日志管理</span></template>
                <el-menu-item index="/system/log/sysLoginLog" >操作日志</el-menu-item>
                <el-menu-item index="/system/log/operaLog">登录日志</el-menu-item>
              </el-sub-menu>
  
  
            </el-sub-menu>
            <!-- 导航菜单项二，审批设置 -->
            <el-sub-menu index="2">
              <template #title>
                <el-icon ><icon-menu /></el-icon><span>审批设置</span>
              </template>
              <el-menu-item index="/processSet/processTemplate">审批模板</el-menu-item>
              <el-menu-item index="/processSet/processType">审批类型</el-menu-item>
            </el-sub-menu>
  
            <!-- 导航菜单项三，审批管理 -->
            <el-sub-menu index="3">
              <template #title >
                <el-icon>
                  <setting />
                </el-icon><span>审批管理</span>
              </template>
              <el-menu-item index="/processMgr/process" >审批列表</el-menu-item>
            </el-sub-menu>
  
            <!-- 导航菜单项四，公众号菜单 -->
            <el-sub-menu index="4" >
              <template #title  >
                <el-icon >
                  <setting />
                </el-icon><span >公众号菜单</span>
              </template>
              <el-menu-item index="/wechat/menu">菜单列表</el-menu-item>
            </el-sub-menu>
          </el-menu>
        </el-scrollbar>
      </el-aside>
  
      <el-container>
        <el-header style="text-align: right; font-size: 12px">
          <div class="toolbar">
            <el-dropdown>
              <el-icon style="margin-right: 8px; margin-top: 1px">
                <setting />
              </el-icon>
              <template #dropdown>
                <el-dropdown-menu>
                  <el-dropdown-item>home</el-dropdown-item>
                  <el-dropdown-item>GitHub</el-dropdown-item>
                  <el-dropdown-item>Docs</el-dropdown-item>
                  <el-dropdown-item>LogOut</el-dropdown-item>
                </el-dropdown-menu>
              </template>
            </el-dropdown>
            <span>Tom</span>
          </div>
        </el-header>
  
        <el-main>
          <el-scrollbar>
            <RouterView></RouterView>
          </el-scrollbar>
        </el-main>
      </el-container>
    </el-container>
  </template>
  
  <script lang="ts" setup>
  import { ref } from 'vue'
  import { Menu as IconMenu, Message, Setting } from '@element-plus/icons-vue'
  const isCollapse = ref(true)

  </script>
  
  <style scoped>
  .layout-container-demo .el-header {
    position: relative;
  
    color: var(--el-text-color-primary);
  }
  
  span{
    color: white;
  }
  /* 1 选中后背景蓝色 */
  .layout-container-demo .el-menu .el-sub-menu.is-active  {
    background-color: #1c518e !important;
  }
  .layout-container-demo .el-menu .el-sub-menu .el-menu-item:hover{
    background-color: aquamarine !important;
  }
  
  .layout-container-demo .el-menu .el-sub-menu__title:hover,
  .layout-container-demo .el-menu .el-sub-menu__title.is-hover {
    background-color: #1c518e  !important;
  }
  
  .layout-container-demo .el-aside {
  
    /*1 侧边栏背景色 */
    background-color: #304156;
  }
  
  .layout-container-demo .el-menu {
    /* 2 侧边栏内容背景色 */
    background-color: #304156;
    border-right: none;
  }
  
  .layout-container-demo .el-sub-menu .el-menu-item.is-active{
    font-size:medium;
    color: #1c518e;
  }
  /* 设置icon颜色 */
  .layout-container-demo .el-menu .el-icon {
    color: white !important;
  }
  
  
  
  /*3 所有二级小框颜色设置 */
  .layout-container-demo .el-sub-menu .el-menu-item {
    color: white;
    background-color: #212d3b;
  }
  
  /*4 日志管理背景颜色设置 */
  .layout-container-demo .el-sub-menu .el-sub-menu{
    background-color:#212d3b ;
    color: white;
  }
  
  .layout-container-demo .el-main {
    padding: 0;
  }
  
  .layout-container-demo .toolbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    right: 20px;
  }
  </style> -->